package com.vision.util.constant;

import com.google.common.collect.Lists;

import java.util.List;

/**
 * @author zhongchao
 * @title
 * @date 2017-08-16
 * @since v1.0.0
 */
public class MediaTypeConstant {

    private static final List<String> MEDIA_TYPE_LIST;

    static {
        MEDIA_TYPE_LIST = Lists.newArrayList(MediaTypeConstant.AUDIO_TYPE, MediaTypeConstant.IMAGE_TYPE, MediaTypeConstant.TEXT_TYPE, MediaTypeConstant.VIDEO_TYPE, MediaTypeConstant.WILDCARD);
    }

    public static final String AUDIO_TYPE = "audio";
    public static final String IMAGE_TYPE = "image";
    public static final String TEXT_TYPE = "text";
    public static final String VIDEO_TYPE = "video";
    public static final String WILDCARD = "*";

    public static List<String> getMediaTypeList() {
        return MEDIA_TYPE_LIST;
    }
}
